//
//  DyJudgeIpAddressTool.h
//  OnlyRead
//
//  Created by Dyoung on 2017/8/13.
//  Copyright © 2017年 文得炙. All rights reserved.
//

#import <Foundation/Foundation.h>


typedef void(^returnBlock)(BOOL isUSA, NSString * ipAddress);

@interface DyJudgeIpAddressTool : NSObject


/**
 *  判断是否是美国的IP地址：
 */
+ (void)judgeIpAddressIsUSABlock:(returnBlock)block;

/**
 *  获取公网IP;
 */
+ (NSString *)getPublicIpStr;



@end
